package com.hardydou.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.PostMapping;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @author ：hardy
 * @description：权限控制器
 * @date ：Created in 2020/6/2
 * @Copyright ：Hardydou.com
 */
@Controller
public class AuthController {


    @ApiIgnore
    @GetMapping("/login")
    public String login(Model model) {
        return "auth/login";
    }


}
